package org.itboys.weixin.entity;

import org.mongodb.morphia.annotations.Entity;

/**
 * 微信回复消息定义实体
 * @author ChenJunhui
 *
 */
@Entity(value = "SendWeixinMessage", noClassnameStored = true)
public class SendWeixinMessage extends WeixinBaseEntity {
	
	public final static int MSG_TYPE_TEXT=1;//文本回复
	public final static int MSG_TYPE_SIGNEL_TUWEN=2;//单篇图文
	public final static int MSG_TYPE_SIGNEL_WENZHANG=4;//单篇文章
	public final static int MSG_TYPE_MORE_TUWEN=3;//多图文

	private static final long serialVersionUID = 6952983837697916828L;
	private Long weixinId;			//微信公众账号原始ID
	private Integer type;				//类型 1:默认回复 2:匹配回复 3:自定义回复
	private String 	desc;				//简单描述该信息含义最多60个字符 20个汉字
	private Integer msgType;				//1:文本回复 2:单篇图文 3:多图文'
	private Integer  status;			//'状态 0:失败 1:成功 2:待推送' ,
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Long getWeixinId() {
		return weixinId;
	}
	public void setWeixinId(Long weixinId) {
		this.weixinId = weixinId;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Integer getMsgType() {
		return msgType;
	}
	public void setMsgType(Integer msgType) {
		this.msgType = msgType;
	}
}
